package com.rxyl.love.petdoctor.entity;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zuchang on 2016/1/12.
 */
public class CircleEntity {

    /**
     * items : [{"status":0,"liked":false,"seq":731764,"creator":{"status":0,"name":"痞子","source_uid":"1012","gender":1,"has_followed":false,"atype":0,"custom":"{\"uid\":1012,\"gender\":\"公\",\"birthday\":\"2014-9-25\",\"uc_banner\":\"\",\"breed\":\"蝴蝶犬\",\"is_doctor\":0,\"doctor\":{\"hospital\":\"\"}}","icon_url":{"I240":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&","I640":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&","origin":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&"},"id":"568cf00c7019c94428f0ff6d"},"forward_count":0,"image_urls":[{"I360":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e@360w_360h_1e_1c_75Q","I750":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e@750w_0e_1l","origin":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e"},{"I360":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/a919433770d900fd197f0ca665f0d98f@360w_360h_1e_1c_75Q","I750":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/a919433770d900fd197f0ca665f0d98f@750w_0e_1l","origin":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/a919433770d900fd197f0ca665f0d98f"}],"is_top":0,"create_time":"2016-01-14 09:49:32","user_mark":0,"id":"5696feacee78501413dfa9fb","likes_count":0,"has_collected":false,"title":"","origin_feed":null,"custom":"","content":"#领养# 小奶狗找领养！拜托大家转发！联系人：18017289687","comments_count":0,"location":null,"parent_feed_id":"","related_user":[],"is_recommended":false,"type":0,"topics":[{"create_time":"2016-01-06 16:46:33","name":"领养","icon_url":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/dcc835b1494d071378a5b5777aafcbbc@0-0-90-90a_80w_90Q.jpg","description":"我们一起来帮流浪猫狗找家吧~！","id":"568cd469ee78505030d9d414","image_urls":[{"I60":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@60w_0e_1l_75Q","I360":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@360w_360h_1e_1c_75Q","I750":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@750w_0e_1l","I900":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@900w_0e_1l_90Q","origin":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe"}],"custom":""}],"share_link":"http://wsq.umeng.com/feeds/5696feacee78501413dfa9fb/"}]
     * navigator : http://api.wsq.umeng.com/v2/feeds/stream?start=20&count=20&read_tag=719950
     */

    private String navigator;
    /**
     * status : 0
     * liked : false
     * seq : 731764
     * creator : {"status":0,"name":"痞子","source_uid":"1012","gender":1,"has_followed":false,"atype":0,"custom":"{\"uid\":1012,\"gender\":\"公\",\"birthday\":\"2014-9-25\",\"uc_banner\":\"\",\"breed\":\"蝴蝶犬\",\"is_doctor\":0,\"doctor\":{\"hospital\":\"\"}}","icon_url":{"I240":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&","I640":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&","origin":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&"},"id":"568cf00c7019c94428f0ff6d"}
     * forward_count : 0
     * image_urls : [{"I360":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e@360w_360h_1e_1c_75Q","I750":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e@750w_0e_1l","origin":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e"},{"I360":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/a919433770d900fd197f0ca665f0d98f@360w_360h_1e_1c_75Q","I750":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/a919433770d900fd197f0ca665f0d98f@750w_0e_1l","origin":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/a919433770d900fd197f0ca665f0d98f"}]
     * is_top : 0
     * create_time : 2016-01-14 09:49:32
     * user_mark : 0
     * id : 5696feacee78501413dfa9fb
     * likes_count : 0
     * has_collected : false
     * title :
     * origin_feed : null
     * custom :
     * content : #领养# 小奶狗找领养！拜托大家转发！联系人：18017289687
     * comments_count : 0
     * location : null
     * parent_feed_id :
     * related_user : []
     * is_recommended : false
     * type : 0
     * topics : [{"create_time":"2016-01-06 16:46:33","name":"领养","icon_url":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/dcc835b1494d071378a5b5777aafcbbc@0-0-90-90a_80w_90Q.jpg","description":"我们一起来帮流浪猫狗找家吧~！","id":"568cd469ee78505030d9d414","image_urls":[{"I60":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@60w_0e_1l_75Q","I360":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@360w_360h_1e_1c_75Q","I750":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@750w_0e_1l","I900":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@900w_0e_1l_90Q","origin":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe"}],"custom":""}]
     * share_link : http://wsq.umeng.com/feeds/5696feacee78501413dfa9fb/
     */

    private List<Items> items;

    public static CircleEntity objectFromData(String str) {

        return new Gson().fromJson(str, CircleEntity.class);
    }

    public void setNavigator(String navigator) {
        this.navigator = navigator;
    }

    public void setItems(List<Items> items) {
        this.items = items;
    }

    public String getNavigator() {
        return navigator;
    }

    public List<Items> getItems() {
        return items;
    }

    public static class Items {
        private int status;
        private boolean liked;
        private int seq;
        /**
         * status : 0
         * name : 痞子
         * source_uid : 1012
         * gender : 1
         * has_followed : false
         * atype : 0
         * custom : {"uid":1012,"gender":"公","birthday":"2014-9-25","uc_banner":"","breed":"蝴蝶犬","is_doctor":0,"doctor":{"hospital":""}}
         * icon_url : {"I240":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&","I640":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&","origin":"http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&"}
         * id : 568cf00c7019c94428f0ff6d
         */

        private Creator creator;
        private int forward_count;
        private int is_top;
        private String create_time;
        private int user_mark;
        private String id;
        private int likes_count;
        private boolean has_collected;
        private String title;
        private Object origin_feed;
        private String custom;







        private String content;
        private int comments_count;
        private Object location;
        private String parent_feed_id;
        private boolean is_recommended;
        private int type;
        private String share_link;
        /**
         * I360 : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e@360w_360h_1e_1c_75Q
         * I750 : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e@750w_0e_1l
         * origin : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-14/8901160dace9243d57d8fbc6155a293e
         */

        private List<ImageUrls> image_urls;
        private List<?> related_user;
        /**
         * create_time : 2016-01-06 16:46:33
         * name : 领养
         * icon_url : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/dcc835b1494d071378a5b5777aafcbbc@0-0-90-90a_80w_90Q.jpg
         * description : 我们一起来帮流浪猫狗找家吧~！
         * id : 568cd469ee78505030d9d414
         * image_urls : [{"I60":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@60w_0e_1l_75Q","I360":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@360w_360h_1e_1c_75Q","I750":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@750w_0e_1l","I900":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@900w_0e_1l_90Q","origin":"http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe"}]
         * custom :
         */

        private List<Topics> topics;

        public static Items objectFromData(String str) {

            return new Gson().fromJson(str, Items.class);
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setLiked(boolean liked) {
            this.liked = liked;
        }

        public void setSeq(int seq) {
            this.seq = seq;
        }

        public void setCreator(Creator creator) {
            this.creator = creator;
        }

        public void setForward_count(int forward_count) {
            this.forward_count = forward_count;
        }

        public void setIs_top(int is_top) {
            this.is_top = is_top;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public void setUser_mark(int user_mark) {
            this.user_mark = user_mark;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setLikes_count(int likes_count) {
            this.likes_count = likes_count;
        }

        public void setHas_collected(boolean has_collected) {
            this.has_collected = has_collected;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setOrigin_feed(Object origin_feed) {
            this.origin_feed = origin_feed;
        }

        public void setCustom(String custom) {
            this.custom = custom;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setComments_count(int comments_count) {
            this.comments_count = comments_count;
        }

        public void setLocation(Object location) {
            this.location = location;
        }

        public void setParent_feed_id(String parent_feed_id) {
            this.parent_feed_id = parent_feed_id;
        }

        public void setIs_recommended(boolean is_recommended) {
            this.is_recommended = is_recommended;
        }

        public void setType(int type) {
            this.type = type;
        }

        public void setShare_link(String share_link) {
            this.share_link = share_link;
        }

        public void setImage_urls(List<ImageUrls> image_urls) {
            this.image_urls = image_urls;
        }

        public void setRelated_user(List<?> related_user) {
            this.related_user = related_user;
        }

        public void setTopics(List<Topics> topics) {
            this.topics = topics;
        }

        public int getStatus() {
            return status;
        }

        public boolean isLiked() {
            return liked;
        }

        public int getSeq() {
            return seq;
        }

        public Creator getCreator() {
            return creator;
        }

        public int getForward_count() {
            return forward_count;
        }

        public int getIs_top() {
            return is_top;
        }

        public String getCreate_time() {
            return create_time;
        }

        public int getUser_mark() {
            return user_mark;
        }

        public String getId() {
            return id;
        }

        public int getLikes_count() {
            return likes_count;
        }

        public boolean isHas_collected() {
            return has_collected;
        }

        public String getTitle() {
            return title;
        }

        public Object getOrigin_feed() {
            return origin_feed;
        }

        public String getCustom() {
            return custom;
        }

        public String getContent() {
            return content;
        }

        public int getComments_count() {
            return comments_count;
        }

        public Object getLocation() {
            return location;
        }

        public String getParent_feed_id() {
            return parent_feed_id;
        }

        public boolean isIs_recommended() {
            return is_recommended;
        }

        public int getType() {
            return type;
        }

        public String getShare_link() {
            return share_link;
        }

        public List<ImageUrls> getImage_urls() {
            return image_urls;
        }

        public List<?> getRelated_user() {
            return related_user;
        }

        public List<Topics> getTopics() {
            return topics;
        }

        public static class Creator {
            private int status;
            private String name;
            private String source_uid;
            private int gender;
            private boolean has_followed;
            private int atype;
            private String custom;
            /**
             * I240 : http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&
             * I640 : http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&
             * origin : http://7vzopj.com1.z0.glb.clouddn.com/f33ba15effa5c10e873bf3842afb46a6.jpg?imageView2/1/w/140/h/140/q/85&
             */

            private IconUrl icon_url;
            private String id;

            public static Creator objectFromData(String str) {

                return new Gson().fromJson(str, Creator.class);
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setSource_uid(String source_uid) {
                this.source_uid = source_uid;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public void setHas_followed(boolean has_followed) {
                this.has_followed = has_followed;
            }

            public void setAtype(int atype) {
                this.atype = atype;
            }

            public void setCustom(String custom) {
                this.custom = custom;
            }

            public void setIcon_url(IconUrl icon_url) {
                this.icon_url = icon_url;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getStatus() {
                return status;
            }

            public String getName() {
                return name;
            }

            public String getSource_uid() {
                return source_uid;
            }

            public int getGender() {
                return gender;
            }

            public boolean isHas_followed() {
                return has_followed;
            }

            public int getAtype() {
                return atype;
            }

            public String getCustom() {
                return custom;
            }

            public IconUrl getIcon_url() {
                return icon_url;
            }

            public String getId() {
                return id;
            }

            public static class IconUrl {
                @SerializedName("240")
                private String I240;
                @SerializedName("640")
                private String I640;
                private String origin;

                public static IconUrl objectFromData(String str) {

                    return new Gson().fromJson(str, IconUrl.class);
                }

                public void setI240(String I240) {
                    this.I240 = I240;
                }

                public void setI640(String I640) {
                    this.I640 = I640;
                }

                public void setOrigin(String origin) {
                    this.origin = origin;
                }

                public String getI240() {
                    return I240;
                }

                public String getI640() {
                    return I640;
                }

                public String getOrigin() {
                    return origin;
                }
            }
        }

        public static class ImageUrls {
            @SerializedName("360")
            private String I360;
            @SerializedName("750")
            private String I750;
            private String origin;

            public static ImageUrls objectFromData(String str) {

                return new Gson().fromJson(str, ImageUrls.class);
            }

            public void setI360(String I360) {
                this.I360 = I360;
            }

            public void setI750(String I750) {
                this.I750 = I750;
            }

            public void setOrigin(String origin) {
                this.origin = origin;
            }

            public String getI360() {
                return I360;
            }

            public String getI750() {
                return I750;
            }

            public String getOrigin() {
                return origin;
            }
        }

        public static class Topics {
            private String create_time;
            private String name;
            private String icon_url;
            private String description;
            private String id;
            private String custom;
            /**
             * I60 : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@60w_0e_1l_75Q
             * I360 : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@360w_360h_1e_1c_75Q
             * I750 : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@750w_0e_1l
             * I900 : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe@900w_0e_1l_90Q
             * origin : http://c-56245a3c7019c90ad5f63de5.image.alimmdn.com/2016-01-06/49b8706b787fe9afae5f7cc46190ffbe
             */

            private List<ImageUrls> image_urls;

            public static Topics objectFromData(String str) {

                return new Gson().fromJson(str, Topics.class);
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setIcon_url(String icon_url) {
                this.icon_url = icon_url;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public void setId(String id) {
                this.id = id;
            }

            public void setCustom(String custom) {
                this.custom = custom;
            }

            public void setImage_urls(List<ImageUrls> image_urls) {
                this.image_urls = image_urls;
            }

            public String getCreate_time() {
                return create_time;
            }

            public String getName() {
                return name;
            }

            public String getIcon_url() {
                return icon_url;
            }

            public String getDescription() {
                return description;
            }

            public String getId() {
                return id;
            }

            public String getCustom() {
                return custom;
            }

            public List<ImageUrls> getImage_urls() {
                return image_urls;
            }

            public static class ImageUrls {
                @SerializedName("60")
                private String I60;
                @SerializedName("360")
                private String I360;
                @SerializedName("750")
                private String I750;
                @SerializedName("900")
                private String I900;
                private String origin;

                public static ImageUrls objectFromData(String str) {

                    return new Gson().fromJson(str, ImageUrls.class);
                }

                public void setI60(String I60) {
                    this.I60 = I60;
                }

                public void setI360(String I360) {
                    this.I360 = I360;
                }

                public void setI750(String I750) {
                    this.I750 = I750;
                }

                public void setI900(String I900) {
                    this.I900 = I900;
                }

                public void setOrigin(String origin) {
                    this.origin = origin;
                }

                public String getI60() {
                    return I60;
                }

                public String getI360() {
                    return I360;
                }

                public String getI750() {
                    return I750;
                }

                public String getI900() {
                    return I900;
                }

                public String getOrigin() {
                    return origin;
                }
            }
        }
    }
}
